package cn.lxh;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan("cn.lxh.*.mapper")
@NacosPropertySource(dataId = "cms.yml",autoRefreshed = true)
public class StartApp {
    
    public static void main(String[] args) {

        System.out.println("*****************" +
                "*******************" +
                "*******开始运行************" +
                "+++++++++");
        SpringApplication.run(StartApp.class);
        System.out.println("*****************" +
                "*******************" +
                "*******结束启动************" +
                "+++++++++");
    }
}
